<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <textarea name="coordinates1" id="coordinates1" cols="30" rows="10"></textarea>
    <textarea name="coordinates2" id="coordinates2" cols="30" rows="10"></textarea>
    
    <input type="button" value="转线" onclick="transformPolyline()">
    <input type="button" value="转多线" onclick="transformMPolyline()">
    <input type="button" value="转面" onclick="transformPolygon()">
    <input type="button" value="转多面" onclick="transformMPolygon()">
    <div>
        格式转换
        <div id="format"></div>
    </div>
    <div>
        面
        <div id="polygon"></div>
    </div>
    <div>
        多面
        <div id="mPolygon"></div>
    </div>
    <div>
        线
        <div id="polyline"></div>
    </div>
    <div>
        多线
        <div id="mPolyline"></div>
    </div>
    <script src="./mock.js"></script>
    <script src="./main.js"></script>
</body>
</html>